-------------------
--MAGIC GOES HERE--
-------------------
function IWR.Harbinger_single()
	-- http://rift.magelo.com/en/soultree#Fgw/SkFlaBllaGy/h8Q
	--------
	--KEYS--
	--------
	-- 1	= Piercing Beam
	-- 2	= Vorpal Slash
	-- 3	= Rending Slash
	-- 4	= Storm\'s Fury
	-- 5	= Tempest Winds
	-- 6	= Lightning Strike
	-- 7	= Vile Spores
	-- 8	= 
	-- 9	= Blazing Light
	-- 0	= Lucent Slash
	-- q	= Disabling Shock
	-- e	= Blademark (FOCUS)
	-- r	= Conditioned Response
	-- t	= Introspection
	-- f	= 
	-- g	= 
	-- z	= Empyrean Ascension
	-- x	= Phantom Blades
	-- c	= Distracting Slash
	-- v	= Blade Rush
	-- 1n	= Arcane Manipulation (PLAYER)
	-- 2n	= 
	-- 3n	= Dancing Limbs
	-- 4n	= Storm Nova
	-- 5n	= Energy Beam
	-- 6n	= Shocking Touch
	-- 7n	= 
	-- 8n	= Charged Blade
	-- 9n	= Eldritch Armor
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Eldritch Armor',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Eldritch Armor'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9n']
		},
		{
			name					= 'Charged Blade',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= 10,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Charged Blade'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['8n']
		},
		{
			name					= 'Arcane Manipulation',
			id						= nil,
			unit					= IWR.target,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= 30,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1n']
		},
		{
			name					= 'Rending Slash',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Rending Slash',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 2,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Blazing Light',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Eldritch Gift'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Blazing Light',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9']
		},
		{
			name					= 'Lucent Slash',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Blazing Light',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 3,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['0']
		},
		{
			name					= 'Vorpal Slash',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Eldritch Gift'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
		{
			name					= 'Lightning Strike',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Eldritch Gift'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['6']
		},
		{
			name					= 'Vile Spores',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Eldritch Gift'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['7']
		},
		{
			name					= 'Piercing Beam',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Piercing Beam',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Piercing Beam',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Piercing Beam',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 3,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Empyrean Ascension',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= hostile,
			VCD						= nil,
			abilityoncd				= 'Tempest Winds',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['z']
		},
		{
			name					= 'Dancing Limbs',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3n']
		},
		{
			name					= 'Storm Nova',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4n']
		},
		{
			name					= 'Energy Beam',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['5n']
		},
		{
			name					= 'Shocking Touch',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['6n']
		},
		{
			name					= 'Storm\'s Fury',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Tempest Winds',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= 'Storm\'s Fury',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['5']
		},
		{
			name					= 'Rending Slash',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Phantom Blades',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Blade Rush',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['v']
		},
		{
			name					= 'Blazing Light',
			id						= nil,
			unit					= IWR.target,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9']
		}
	}
	IWR.Rotation_MapIDs()
end

function IWR.Harbinger_AOE()
	-- http://rift.magelo.com/en/soultree#Fgw/SkFlaBllaGy/h8Q
	--------
	--KEYS--
	--------
	-- 1	= Piercing Beam
	-- 2	= Vorpal Slash
	-- 3	= Rending Slash
	-- 4	= Storm\'s Fury
	-- 5	= Tempest Winds
	-- 6	= Lightning Strike
	-- 7	= Vile Spores
	-- 8	= 
	-- 9	= Blazing Light
	-- 0	= Lucent Slash
	-- q	= Disabling Shock
	-- e	= Blademark (FOCUS)
	-- r	= Conditioned Response
	-- t	= Introspection
	-- f	= 
	-- g	= 
	-- z	= Empyrean Ascension
	-- x	= Phantom Blades
	-- c	= Distracting Slash
	-- v	= Blade Rush
	-- 1n	= Arcane Manipulation (PLAYER)
	-- 2n	= 
	-- 3n	= Dancing Limbs
	-- 4n	= Storm Nova
	-- 5n	= Energy Beam
	-- 6n	= Shocking Touch
	-- 7n	= 
	-- 8n	= Charged Blade
	-- 9n	= Eldritch Armor
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Eldritch Armor',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Eldritch Armor'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9n']
		},
		{
			name					= 'Arcane Manipulation',
			id						= nil,
			unit					= IWR.target,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= 30,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1n']
		},
		{
			name					= 'Charged Blade',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= 10,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Charged Blade'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['8n']
		},
		{
			name					= 'Dancing Limbs',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3n']
		},
		{
			name					= 'Storm Nova',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4n']
		},
		{
			name					= 'Energy Beam',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['5n']
		},
		{
			name					= 'Blazing Light',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Blazing Light',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9']
		},
		{
			name					= 'Lucent Slash',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['0']
		},
		{
			name					= 'Lucent Slash',
			id						= nil,
			unit					= IWR.target,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['0']
		},
		{
			name					= 'Blazing Light',
			id						= nil,
			unit					= IWR.target,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9']
		}
	}
	IWR.Rotation_MapIDs()
end

function IWR.Stormbinger_single()
	-- http://rift.magelo.com/en/soultree#gAjqEG20l0/S8BnA9h2/hd
	--------
	--KEYS--
	--------
	-- 1	= Piercing Beam
	-- 2	= SPAM (MACRO)
	-- 3	= CHARGE GAIN (MACRO)
	-- 4	= Raging Storm
	-- 5	= Lucent Slash
	-- 6	= Vorpal Slash
	-- 7	= Hailstorm(MACRO)
	-- 8	= ELDRITCH LS(MACRO)
	-- 9	= ELDRITCH ICICLE(MACRO)
	-- 0	= ELDRITCH LS(MACRO)
	-- q	= Static Flux
	-- e	= Charged Blade
	-- r	= Blazing Light
	-- t	= Introspection
	-- f	= Storm Locus
	-- g	= 
	-- z	= Living Storm
	-- x	= AOE SPEND(MACRO)
	-- c	= 
	-- v	= Ride the Wind
	-- 1n	= Arcane Manipulation (PLAYER)
	-- 2n	= 
	-- 3n	= 
	-- 4n	= AOE GAIN(MACRO)
	-- 5n	= Charged Blade (OFF)
	-- 6n	= Charged Blade (ON)
	-- 7n	= Luminous Weapon
	-- 8n	= Lightning Blade
	-- 9n	= Eldritch Armor
	-- *n	= Thunder Shock
	-- -n	= Storm Slash
	-- +n	= Storm\'s Fury
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Eldritch Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Eldritch Armor'},
			key						= IWR.Key['9n'],
		},
		{
			name					= 'Lightning Blade',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Lightning Blade'},
			key						= IWR.Key['8n'],
		},
		{
			name					= 'Introspection',
			unit					= IWR.player,
			incombat				= true,
			castonmove				= true,
			playermana_less			= 10,
			key						= IWR.Key['t'],
		},
		{
			name					= 'Charged Blade', --remove CB buff to gain charge
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_true			= {'Conductive Medium','Charged Blade'},
			playerbuff_remain_less	= 2,
			key						= IWR.Key['5n'],
		},
		{
			name					= 'Storm Slash', -- Lucent Slash
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Blazing Light',
			unitbuff_remain_less	= 2.5,
			unitbuff_remain_more	= 1.5,
			unitname_ignore			= {'The Yrlwalach'},
			setVCD_line				= {13},
			setVCD_VCD				= {3},
			relation				= 'hostile',
			key						= IWR.Key['5'],
		},
		{
			name					= 'Storm Slash', -- Lucent Slash
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Blazing Light',
			VCD						= 1,
			unitname_ignore			= {'The Yrlwalach'},
			setVCD_line				= {13,5},
			setVCD_VCD				= {3,3},
			abilityoncd				= 'Raging Storm',
			abilityoncdless			= 12.9,
			abilityoncdmore			= 12.4,
			relation				= 'hostile',
			key						= IWR.Key['5'],
		},
		{
			name					= 'Raging Storm',
			unit					= IWR.target,
			incombat				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Living Storm',
			unitbuff_remain_less	= 5,
			setVCD_line				= {12},
			setVCD_VCD				= {5},
			relation				= 'hostile',
			key						= IWR.Key['4'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Storm Locus',
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Storm Locus',
			unitbuff_remain_less	= 2,
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Static Flux',
			unit					= IWR.target,
			castonmove				= true,
			playerbuff_false		= {'Electrified'},
			relation				= 'hostile',
			key						= IWR.Key['q'],
		},
		{
			name					= 'Static Flux',
			unit					= IWR.target,
			castonmove				= true,
			playerbuff_true			= {'Electrified'},
			playerbuff_remain_less	= 2,
			relation				= 'hostile',
			key						= IWR.Key['q'],
		},
		{
			name					= 'Living Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Living Storm',
			unitname_ignore			= {'Coral'},
			relation				= 'hostile',
			key						= IWR.Key['z'],
		},
		{
			name					= 'Blazing Light',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Blazing Light',
			unitname_ignore			= {'Coral'},
			relation				= 'hostile',
			key						= IWR.Key['r'],
		},
		{
			name					= 'Lightning Strike', -- ELDRITCH MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Eldritch Gift'},
			relation				= 'hostile',
			key						= IWR.Key['8'],
		},
		{
			name					= 'Icicle', -- ELDRITCH MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Eldritch Gift'},
			abilityoncd				= 'Lightning Strike',
			abilityoncdless			= 9,
			relation				= 'hostile',
			key						= IWR.Key['9'],
		},
		{
			name					= 'Crystalline Missiles', -- ELDRITCH MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Eldritch Gift'},
			abilityoncd				= 'Icicle',
			abilityoncdless			= 9,
			relation				= 'hostile',
			key						= IWR.Key['0'],
		},
		{
			name					= 'Piercing Beam',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Piercing Beam',
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1'],
		},
		{
			name					= 'Piercing Beam',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Piercing Beam',
			unitbuff_remain_less	= 2,
			relation				= 'hostile',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Storm\'s Fury', -- SPAM MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
		{
			name					= 'Storm Slash', -- CHARGE GAIN MACRO
			unit					= IWR.target,
			incombat				= true,
			charge_less				= 40,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Thunder Shock', -- SPAM MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Stormbinger_AOE()
	-- http://rift.magelo.com/en/soultree#gAjqEG20l0/S8BnA9h2/hd
	--------
	--KEYS--
	--------
	-- 1	= Piercing Beam
	-- 2	= SPAM (MACRO)
	-- 3	= CHARGE GAIN (MACRO)
	-- 4	= Raging Storm
	-- 5	= Lucent Slash
	-- 6	= Vorpal Slash
	-- 7	= Hailstorm(MACRO)
	-- 8	= ELDRITCH LS(MACRO)
	-- 9	= ELDRITCH ICICLE(MACRO)
	-- 0	= ELDRITCH LS(MACRO)
	-- q	= Static Flux
	-- e	= Charged Blade
	-- r	= Blazing Light
	-- t	= Introspection
	-- f	= Storm Locus
	-- g	= 
	-- z	= Living Storm
	-- x	= AOE SPEND(MACRO)
	-- c	= 
	-- v	= Ride the Wind
	-- 1n	= Arcane Manipulation (PLAYER)
	-- 2n	= 
	-- 3n	= 
	-- 4n	= AOE GAIN(MACRO)
	-- 5n	= Charged Blade (OFF)
	-- 6n	= Charged Blade (ON)
	-- 7n	= Luminous Weapon
	-- 8n	= Lightning Blade
	-- 9n	= Eldritch Armor
	-- *n	= Thunder Shock
	-- -n	= Storm Slash
	-- +n	= Storm\'s Fury
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Eldritch Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Eldritch Armor'},
			key						= IWR.Key['9n'],
		},
		{
			name					= 'Luminous Weapon',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Luminous Weapon'},
			key						= IWR.Key['7n'],
		},
		{
			name					= 'Introspection',
			unit					= IWR.player,
			incombat				= true,
			castonmove				= true,
			playermana_less			= 10,
			key						= IWR.Key['t'],
		},
		{
			name					= 'Charged Blade', --remove CB buff to gain charge
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_true			= {'Conductive Medium','Charged Blade'},
			playerbuff_remain_less	= 2,
			key						= IWR.Key['5n'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Storm Locus',
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Blazing Light',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Blazing Light',
			relation				= 'hostile',
			key						= IWR.Key['r'],
		},
		{
			name					= 'Lucent Slash',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			charge_less				= 30,
			relation				= 'hostile',
			key						= IWR.Key['4n'],
		},
		{
			name					= 'Lucent Slash',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['x'],
		},
		{
			name					= 'Thunder Shock', -- SPAM MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Stormbinger_BladeSingle()
	-- http://rift.magelo.com/en/soultree#gAjqEG20mg/S8BkgIExg/i
	--------
	--KEYS--
	--------
	-- 1	= Piercing Beam
	-- 2	= SPAM (MACRO)
	-- 3	= CHARGE GAIN (MACRO)
	-- 4	= Raging Storm
	-- 5	= Lucent Slash
	-- 6	= Vorpal Slash
	-- 7	= Hailstorm(MACRO)
	-- 8	= ELDRITCH BLADE ICICLE(MACRO)
	-- 9	= ELDRITCH BLADE FB(MACRO)
	-- 0	= Blademark(@focus MACRO)
	-- q	= Static Flux
	-- e	= Charged Blade
	-- r	= Blazing Light
	-- t	= Introspection
	-- f	= Storm Locus
	-- g	= 
	-- z	= Living Storm
	-- x	= AOE SPEND(MACRO)
	-- c	= 
	-- v	= Ride the Wind
	-- 1n	= Arcane Manipulation (PLAYER)
	-- 2n	= 
	-- 3n	= 
	-- 4n	= AOE GAIN(MACRO)
	-- 5n	= Charged Blade (OFF)
	-- 6n	= Charged Blade (ON)
	-- 7n	= Luminous Weapon
	-- 8n	= Lightning Blade
	-- 9n	= Eldritch Armor
	-- *n	= Thunder Shock
	-- -n	= Storm Slash
	-- +n	= Storm\'s Fury
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Eldritch Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Eldritch Armor'},
			key						= IWR.Key['9n'],
		},
		{
			name					= 'Lightning Blade',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Lightning Blade'},
			key						= IWR.Key['8n'],
		},
		{
			name					= 'Introspection',
			unit					= IWR.player,
			incombat				= true,
			castonmove				= true,
			playermana_less			= 10,
			key						= IWR.Key['t'],
		},
		{
			name					= 'Charged Blade', --remove CB buff to gain charge
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_true			= {'Conductive Medium','Charged Blade'},
			playerbuff_remain_less	= 2,
			key						= IWR.Key['5n'],
		},
		{
			name					= 'Raging Storm',
			unit					= IWR.target,
			incombat				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Living Storm',
			unitbuff_remain_less	= 5,
			setVCD_line				= {10},
			setVCD_VCD				= {5},
			relation				= 'hostile',
			key						= IWR.Key['4'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Storm Locus',
			unitname_ignore			= {'Ice Sculpture','Reinforced AI'},
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Storm Locus',
			unitbuff_remain_less	= 2,
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Static Flux',
			unit					= IWR.target,
			castonmove				= true,
			playerbuff_false		= {'Electrified'},
			relation				= 'hostile',
			key						= IWR.Key['q'],
		},
		{
			name					= 'Static Flux',
			unit					= IWR.target,
			castonmove				= true,
			playerbuff_true			= {'Electrified'},
			playerbuff_remain_less	= 2,
			relation				= 'hostile',
			key						= IWR.Key['q'],
		},
		{
			name					= 'Living Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Living Storm',
			unitname_ignore			= {'Coral','Ice Sculpture','Reinforced AI'},
			relation				= 'hostile',
			key						= IWR.Key['z'],
		},
		{
			name					= 'Blazing Light',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Blazing Light',
			unitname_ignore			= {'Coral','Ice Sculpture'},
			relation				= 'hostile',
			key						= IWR.Key['r'],
		},
		{
			name					= 'Storm Slash', -- Lucent Slash
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Blazing Light',
			relation				= 'hostile',
			unitname_ignore			= {'The Yrlwalach'},
			abilityoncd				= 'Raging Storm',
			abilityoncdless			= 12.9,
			abilityoncdmore			= 12.4,
			key						= IWR.Key['5'],
		},
		{
			name					= 'Piercing Beam',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Piercing Beam',
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1'],
		},
		{
			name					= 'Piercing Beam',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Piercing Beam',
			unitbuff_remain_less	= 3,
			relation				= 'hostile',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Blademark',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['0'],
		},
		{
			name					= 'Icicle', -- ELDRITCH MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Eldritch Gift'},
			relation				= 'hostile',
			key						= IWR.Key['8'],
		},
		{
			name					= 'Fireball', -- ELDRITCH MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Eldritch Gift'},
			abilityoncd				= 'Icicle',
			abilityoncdless			= 9,
			relation				= 'hostile',
			key						= IWR.Key['9'],
		},
		{
			name					= 'Storm\'s Fury', -- SPAM MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
		{
			name					= 'Storm Slash', -- CHARGE GAIN MACRO
			unit					= IWR.target,
			incombat				= true,
			charge_less				= 40,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Thunder Shock', -- SPAM MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Warlock_Single()
	--------
	--KEYS--
	--------
	-- 1	= Consuming Agony
	-- 2	= Void Bolt
	-- 3	= Neddra's Torture
	-- 4	= Draining Bolt
	-- 5	= Death's Door
	-- 6	= Dark Touch
	-- 7	= Defile
	-- 8	= Atrophy
	-- 9	= Necrosis
	-- 0	= Blazing Light
	-- q	= Empowered Darkness
	-- e	= Sacrifice Life: Damage
	-- r	= Contaminate
	-- t	= Devouring Shadows
	-- f	= Radiate Death
	-- g	= 
	-- z	= Void Barrage
	-- x	= Persist
	-- c	= Salvage Corruption
	-- v	= Deathly Pall
	-- 1n	= Dark Touch @focus
	-- 2n	= Defile @focus
	-- 3n	= Atrophy @focus
	-- 4n	= Necrosis @focus
	-- 5n	= Conflux
	-- 6n	= Salvage Corruption/Deathly Pall @focus
	-- 7n	= Desecrate
	-- 8n	= 
	-- 9n	= Warlock Armor
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Warlock Armor',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Warlock Armor'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9n']
		},
		{
			name					= 'Conflux',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['5n']
		},
		{
			name					= 'Sacrifice Life: Damage',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Empowered Darkness'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['e']
		},
		{
			name					= 'Empowered Darkness',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 75,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Sacrifice Life: Damage'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Sacrifice Life: Damage',
			abilityoncdless			= 25,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['q']
		},
		{
			name					= 'Contaminate',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Contaminate', 'Sacrifice Life: Damage', 'Empowered Darkness'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Sacrifice Life: Damage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['r']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Necrosis',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 4,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Void Barrage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Atrophy',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 4,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Void Barrage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Defile',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 4,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Void Barrage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Dark Touch',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 4,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Void Barrage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Death\'s Door',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 4,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Void Barrage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Deathly Pall',
			id						= nil,
			unit					= IWR.focus,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Salvage Corruption'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['6n']
		},
		{
			name					= 'Death\'s Door',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 50,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Death\'s Door',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['5']
		},
		{
			name					= 'Dark Touch',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Dark Touch',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['6']
		},
		{
			name					= 'Defile',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Defile',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['7']
		},
		{
			name					= 'Atrophy',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Atrophy',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['8']
		},
		{
			name					= 'Necrosis',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Necrosis',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9']
		},
		{
			name					= 'Dark Touch',
			id						= nil,
			unit					= IWR.focus,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Dark Touch',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1n']
		},
		{
			name					= 'Defile',
			id						= nil,
			unit					= IWR.focus,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Defile',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2n']
		},
		{
			name					= 'Atrophy',
			id						= nil,
			unit					= IWR.focus,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Atrophy',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3n']
		},
		{
			name					= 'Necrosis',
			id						= nil,
			unit					= IWR.focus,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Necrosis',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4n']
		},
		{
			name					= 'Salvage Corruption',
			id						= nil,
			unit					= IWR.focus,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Dark Touch',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 3,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['6n']
		},
		{
			name					= 'Void Barrage',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Empowered Darkness',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['z']
		},
		{
			name					= 'Consuming Agony',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Shared Agony'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Consuming Agony',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Opportunity'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Draining Bolt',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Neddra\'s Torture',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Void Bolt',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
		{
			name					= 'Blazing Light',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Blazing Light',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['c']
		},
		{
			name					= 'Blazing Light',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Blazing Light',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 3,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['c']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Warlock_Cleave()
	--------
	--KEYS--
	--------
	-- 1	= Consuming Agony
	-- 2	= Void Bolt
	-- 3	= Neddra's Torture
	-- 4	= Draining Bolt
	-- 5	= Death's Door
	-- 6	= Life Leach
	-- 7	= Defile
	-- 8	= Atrophy
	-- 9	= Necrosis
	-- 0	= Dark Touch
	-- q	= Empowered Darkness
	-- e	= Sacrifice Life: Damage
	-- r	= Contaminate
	-- t	= Devouring Shadows
	-- f	= Radiate Death
	-- g	= 
	-- z	= Void Barrage
	-- x	= Persist
	-- c	= Salvage Corruption
	-- v	= Deathly Pall
	-- 1n	= Life Leach @focus
	-- 2n	= Defile @focus
	-- 3n	= Atrophy @focus
	-- 4n	= Necrosis @focus
	-- 5n	= Dark Touch @focus
	-- 6n	= Salvage Corruption @focus
	-- 7n	= Deathly Pall @focus
	-- 8n	= Neddra's Might
	-- 9n	= Warlock Armor
	-- *n	= Neddra's Grasp
	-- -n	= Blazing Light
	-- +n	= Conflux
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Warlock Armor',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Warlock Armor'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9n']
		},
		{
			name					= 'Neddra\'s Might',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Neddra\'s Might', 'Heroic Resolve', 'Shared Vigor'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['8n']
		},
		{
			name					= 'Conflux',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['f12']
		},
		{
			name					= 'Sacrifice Life: Damage',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Empowered Darkness'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['e']
		},
		{
			name					= 'Empowered Darkness',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 75,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Sacrifice Life: Damage'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Sacrifice Life: Damage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['q']
		},
		{
			name					= 'Contaminate',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Contaminate', 'Sacrifice Life: Damage', 'Empowered Darkness'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Sacrifice Life: Damage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['r']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Necrosis',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 4,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Void Barrage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Atrophy',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 4,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Void Barrage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Defile',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 4,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Void Barrage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Dark Touch',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 4,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Void Barrage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Death\'s Door',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 4,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Void Barrage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Death\'s Door',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 50,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Death\'s Door',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['5']
		},
		{
			name					= 'Life Leech',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Life Leech',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= 5,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['6']
		},
		{
			name					= 'Defile',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Defile',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['7']
		},
		{
			name					= 'Atrophy',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Atrophy',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['8']
		},
		{
			name					= 'Necrosis',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Necrosis',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9']
		},
		{
			name					= 'Dark Touch',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Dark Touch',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['0']
		},
		{
			name					= 'Void Barrage',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Empowered Darkness',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['z']
		},
		{
			name					= 'Radiate Death',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['f']
		},
		{
			name					= 'Consuming Agony',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Shared Agony'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Consuming Agony',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Opportunity'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Draining Bolt',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Neddra\'s Torture',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Void Bolt',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
		{
			name					= 'Blazing Light',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Blazing Light',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['f11']
		},
		{
			name					= 'Blazing Light',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Blazing Light',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 3,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['f11']
		},
		{
			name					= 'Neddra\'s Grasp',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['f10']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Warlock_AOE()
	--------
	--KEYS--
	--------
	-- 1	= Consuming Agony
	-- 2	= Void Bolt
	-- 3	= Neddra's Torture
	-- 4	= Draining Bolt
	-- 5	= Death's Door
	-- 6	= Life Leach
	-- 7	= Defile
	-- 8	= Atrophy
	-- 9	= Necrosis
	-- 0	= Dark Touch
	-- q	= Empowered Darkness
	-- e	= Sacrifice Life: Damage
	-- r	= Contaminate
	-- t	= Devouring Shadows
	-- f	= Radiate Death
	-- g	= 
	-- z	= Void Barrage
	-- x	= Persist
	-- c	= Salvage Corruption
	-- v	= Deathly Pall
	-- 1n	= Life Leach @focus
	-- 2n	= Defile @focus
	-- 3n	= Atrophy @focus
	-- 4n	= Necrosis @focus
	-- 5n	= Dark Touch @focus
	-- 6n	= Salvage Corruption @focus
	-- 7n	= Deathly Pall @focus
	-- 8n	= Neddra's Might
	-- 9n	= Warlock Armor
	-- *n	= Neddra's Grasp
	-- -n	= Blazing Light
	-- +n	= Conflux
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Warlock Armor',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Warlock Armor'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9n']
		},
		{
			name					= 'Neddra\'s Might',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Neddra\'s Might', 'Heroic Resolve', 'Shared Vigor'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['8n']
		},
		{
			name					= 'Conflux',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['f12']
		},
		{
			name					= 'Sacrifice Life: Damage',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Empowered Darkness'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Empowered Darkness',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['e']
		},
		{
			name					= 'Empowered Darkness',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 75,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Sacrifice Life: Damage'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Sacrifice Life: Damage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['q']
		},
		{
			name					= 'Contaminate',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Contaminate', 'Sacrifice Life: Damage', 'Empowered Darkness'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Sacrifice Life: Damage',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['r']
		},
		{
			name					= 'Life Leech',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Life Leech',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= 5,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['6']
		},
		{
			name					= 'Atrophy',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Atrophy',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['8']
		},
		{
			name					= 'Necrosis',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Necrosis',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9']
		},
		{
			name					= 'Dark Touch',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Dark Touch',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['0']
		},
		{
			name					= 'Void Barrage',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Empowered Darkness',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['z']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Necrosis',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 3,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Atrophy',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 3,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Defile',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 3,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Persist',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Dark Touch',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 3,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
		{
			name					= 'Radiate Death',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['f']
		},
		{
			name					= 'Defile',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Defile',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['7']
		},
		{
			name					= 'Devouring Shadows',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['t']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Chloromancer_tank()
	-- http://rift.magelo.com/en/soultree#S8/FkGGiBiAGl4/gw8
	--------
	--KEYS--
	--------
	-- 1	= Nature\'s Touch
	-- 2	= Corrosive Spores
	-- 3	= Ruin
	-- 4	= Void Life
	-- 5	= Withering Vine
	-- 6	= Healing Torrent (MO)
	-- 7	= Natural Healing
	-- 8	= Resurgence (MO/FOCUS)
	-- 9	= Bloom (MO/FOCUS)
	-- 0	= 
	-- q	= Wild Growth
	-- e	= Essence Surge (MO/FOCUS)
	-- r	= Entropic Veil
	-- t	= Phantom Stream (MO/FOCUS)
	-- f	= Flourish
	-- g	= 
	-- z	= Nature\'s Cleansing
	-- x	= Cleansing Rush
	-- c	= Living Shell
	-- v	= Symbiosis (MO/FOCUS)
	-- 1n	= Radiant Spores
	-- 2n	= 
	-- 3n	= Essence Conversion
	-- 4n	= 
	-- 5n	= Living Aegis
	-- 6n	= Synthesis
	-- 7n	= Living Energy
	-- 8n	= Lifebound Veil
	-- 9n	= Lifegiving Veil
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Synthesis',
			id						= nil,
			unit					= IWR.focus,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= 'Synthesis',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['6n']
		},
		{
			name					= 'Lifebound Veil',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Lifebound Veil'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['8n']
		},
		{
			name					= 'Living Energy',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Living Energy'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['7n']
		},
		{
			name					= 'Living Aegis',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Living Aegis'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['5n']
		},
		{
			name					= 'Essence Surge',
			id						= nil,
			unit					= IWR.focus,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 30,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['e']
		},
		{
			name					= 'Essence Surge',
			id						= nil,
			unit					= IWR.mouseover,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 30,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['e']
		},
		{
			name					= 'Phantom Stream',
			id						= nil,
			unit					= IWR.focus,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 30,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['t']
		},
		{
			name					= 'Phantom Stream',
			id						= nil,
			unit					= IWR.mouseover,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 30,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['t']
		},
		{
			name					= 'Symbiosis',
			id						= nil,
			unit					= IWR.focus,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 40,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['v']
		},
		{
			name					= 'Symbiosis',
			id						= nil,
			unit					= IWR.mouseover,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 40,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['v']
		},
		{
			name					= 'Entropic Veil',
			id						= nil,
			unit					= IWR.player,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 90,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Entropic Veil'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Wild Growth',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Wild Growth',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['r']
		},
		{
			name					= 'Living Shell',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= 30,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['c']
		},
		{
			name					= 'Bloom',
			id						= nil,
			unit					= IWR.focus,
			incombat				= false,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 60,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9']
		},
		{
			name					= 'Bloom',
			id						= nil,
			unit					= IWR.mouseover,
			incombat				= false,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 60,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9']
		},
		{
			name					= 'Nature\'s Touch',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Boon of Life'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= 5,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Nature\'s Touch',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Boon of Life'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= 3,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Corrosive Spores',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
		{
			name					= 'Ruin',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Wild Growth',
			id						= nil,
			unit					= IWR.player,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 60,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Entropic Veil'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['q']
		},
		{
			name					= 'Radiant Spores',
			id						= nil,
			unit					= IWR.target,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= 'Radiant Spores',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1n']
		},
		{
			name					= 'Void Life',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Flourish',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['f']
		},
		{
			name					= 'Withering Vine',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Withering Vine',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['5']
		},
		{
			name					= 'Resurgence',
			id						= nil,
			unit					= IWR.focus,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['8']
		},
		{
			name					= 'Withering Vine',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['5']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Chloromancer_group()
	-- http://rift.magelo.com/en/soultree#S8/FkGGiBiAGl4/gw8
	--------
	--KEYS--
	--------
	-- 1	= Nature\'s Touch
	-- 2	= INSTANT SPAM(MACRO)
	-- 3	= Vile Spores
	-- 4	= Void Life
	-- 5	= Living Storm
	-- 6	= Healing Torrent (MO)
	-- 7	= Natural Healing
	-- 8	= Resurgence (MO/FOCUS)
	-- 9	= Bloom (MO/FOCUS)
	-- 0	= Blazing Light
	-- q	= Wild Growth
	-- e	= Essence Surge (MO/FOCUS)
	-- r	= Entropic Veil
	-- t	= Phantom Stream (MO/FOCUS)
	-- f	= Flourish
	-- g	= 
	-- z	= Nature\'s Cleansing
	-- x	= Cleansing Rush
	-- c	= REMOVE Entropic Veil(MACRO)
	-- v	= Symbiosis (MO/FOCUS)
	-- 1n	= Radiant Spores
	-- 2n	= 
	-- 3n	= Essence Conversion
	-- 4n	= 
	-- 5n	= Living Aegis
	-- 6n	= Synthesis
	-- 7n	= Living Energy
	-- 8n	= Lifebound Veil
	-- 9n	= Lifegiving Veil
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Lifegiving Veil',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Lifegiving Veil'},
			key						= IWR.Key['9n']
		},
		{
			name					= 'Living Energy',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Living Energy'},
			key						= IWR.Key['7n']
		},
		{
			name					= 'Living Aegis',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Living Aegis'},
			key						= IWR.Key['5n']
		},
		{
			name					= 'Essence Surge',
			unit					= IWR.mouseover,
			incombat				= true,
			whilechannel			= true,
			castonmove				= true,
			unithealth_less			= 30,
			relation				= 'friendly',
			key						= IWR.Key['e']
		},
		{
			name					= 'Phantom Stream',
			unit					= IWR.mouseover,
			incombat				= true,
			whilechannel			= true,
			castonmove				= true,
			unithealth_less			= 30,
			relation				= 'friendly',
			key						= IWR.Key['t']
		},
		{
			name					= 'Essence Conversion',
			unit					= IWR.player,
			castonmove				= true,
			playermana_less			= 10,
			key						= IWR.Key['3n']
		},
		{
			name					= 'Bloom',
			unit					= IWR.mouseover,
			castonmove				= true,
			unithealth_less			= 60,
			relation				= 'friendly',
			key						= IWR.Key['9']
		},
		{
			name					= 'Wild Growth',
			unit					= IWR.player,
			incombat				= true,
			key						= IWR.Key['q']
		},
		{
			name					= 'Radiant Spores',
			unit					= IWR.target,
			castonmove				= true,
			unitbuff_false			= 'Radiant Spores',
			relation				= 'hostile',
			key						= IWR.Key['1n']
		},
		{
			name					= 'Vile Spores',
			unit					= IWR.target,
			incombat				= true,
			VCD						= 2.5,
			key						= IWR.Key['3']
		},
		{
			name					= 'Entropic Veil',
			unit					= IWR.player,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Entropic Veil'},
			unitcasting				= {'Vile Spores'},
			key						= IWR.Key['c']
		},
		{
			name					= 'Nature\'s Touch',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Boon of Life'},
			playerbuff_stack_more	= 5,
			relation				= 'hostile',
			key						= IWR.Key['1']
		},
		{
			name					= 'Nature\'s Touch',
			unit					= IWR.target,
			incombat				= true,
			playerbuff_true			= {'Boon of Life'},
			playerbuff_stack_more	= 4,
			relation				= 'hostile',
			key						= IWR.Key['1']
		},
		{
			name					= 'Corrosive Spores',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
		{
			name					= 'Ruin',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
		{
			name					= 'Withering Vine',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Withering Vine',
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
		{
			name					= 'Living Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Living Storm',
			relation				= 'hostile',
			key						= IWR.Key['5']
		},
		{
			name					= 'Blazing Light',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Blazing Light',
			relation				= 'hostile',
			key						= IWR.Key['0']
		},
		{
			name					= 'Flourish',
			unit					= IWR.player,
			incombat				= true,
			castonmove				= true,
			key						= IWR.Key['f']
		},
		{
			name					= 'Vile Spores',
			unit					= IWR.target,
			incombat				= true,
			key						= IWR.Key['3']
		},
		{
			name					= 'Withering Vine',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Chloromancer_MO()
	-- http://rift.magelo.com/en/soultree#S8/FkGGiBiAGl4/gw8
	--------
	--KEYS--
	--------
	-- 1	= Nature\'s Touch
	-- 2	= Corrosive Spores
	-- 3	= Ruin
	-- 4	= Void Life
	-- 5	= Withering Vine
	-- 6	= Healing Torrent (MO)
	-- 7	= Natural Healing
	-- 8	= Resurgence (MO/FOCUS)
	-- 9	= Bloom (MO/FOCUS)
	-- 0	= 
	-- q	= Wild Growth
	-- e	= Essence Surge (MO/FOCUS)
	-- r	= Entropic Veil
	-- t	= Phantom Stream (MO/FOCUS)
	-- f	= Flourish
	-- g	= 
	-- z	= Nature\'s Cleansing
	-- x	= Cleansing Rush
	-- c	= Living Shell
	-- v	= Symbiosis (MO/FOCUS)
	-- 1n	= Radiant Spores
	-- 2n	= 
	-- 3n	= Essence Conversion
	-- 4n	= 
	-- 5n	= Living Aegis
	-- 6n	= Synthesis
	-- 7n	= Living Energy
	-- 8n	= Lifebound Veil
	-- 9n	= Lifegiving Veil
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Lifegiving Veil',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Lifegiving Veil'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9n']
		},
		{
			name					= 'Living Energy',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Living Energy'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['7n']
		},
		{
			name					= 'Living Aegis',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Living Aegis'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['5n']
		},
		{
			name					= 'Essence Surge',
			id						= nil,
			unit					= IWR.mouseover,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 30,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['e']
		},
		{
			name					= 'Phantom Stream',
			id						= nil,
			unit					= IWR.mouseover,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 30,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['t']
		},
		{
			name					= 'Entropic Veil',
			id						= nil,
			unit					= IWR.player,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 90,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Entropic Veil'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Wild Growth',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Wild Growth',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['r']
		},
		{
			name					= 'Flourish',
			id						= nil,
			unit					= IWR.player,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['f']
		},
		{
			name					= 'Nature\'s Touch',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Boon of Life'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= 5,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Living Shell',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= 30,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['c']
		},
		{
			name					= 'Bloom',
			id						= nil,
			unit					= IWR.mouseover,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 60,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['9']
		},
		{
			name					= 'Corrosive Spores',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
		{
			name					= 'Healing Torrent',
			id						= nil,
			unit					= IWR.mouseover,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 90,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['6']
		},
		{
			name					= 'Natural Healing',
			id						= nil,
			unit					= IWR.mouseover,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= 90,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['7']
		},
		{
			name					= 'Resurgence',
			id						= nil,
			unit					= IWR.mouseover,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'friendly',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['8']
		},
		{
			name					= 'Ruin',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Withering Vine',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Withering Vine',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['5']
		},
		{
			name					= 'Wild Growth',
			id						= nil,
			unit					= IWR.player,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 60,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Entropic Veil'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['q']
		},
		{
			name					= 'Radiant Spores',
			id						= nil,
			unit					= IWR.target,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= 'Radiant Spores',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1n']
		},
		{
			name					= 'Essence Conversion',
			id						= nil,
			unit					= IWR.target,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= 80,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= 80,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3n']
		}
	}
	IWR.Rotation_MapIDs()
end

function IWR.Pyro_single()
	-- http://rift.magelo.com/en/soultree#Se/iGlliFlkFlh0/gwa
	--------
	--KEYS--
	--------
	-- 1	= Flame Bolt
	-- 2	= SPAM macro
	-- 3	= Cinder Burst
	-- 4	= Countdown
	-- 5	= Searing Bolt
	-- 6	= Fusillade
	-- 7	= Flame Volley
	-- 8	= Fulminate
	-- 9	= Inferno
	-- 0	= Thunder Shock
	-- q	= Heat Wave (MACRO)
	-- e	= Internalize Charge
	-- r	= Burning Shield
	-- t	= Arcane Manipulation (PLAYER)
	-- f	= Flicker
	-- g	= 
	-- z	= Burning Bonds
	-- x	= Fire Storm
	-- c	= Scorch
	-- v	= Ride the Wind
	-- 1n	= Pyromancer\'s Armor
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Pyromancer\'s Armor',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Pyromancer\'s Armor'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1n']
		},
		{
			name					= 'Internalize Charge',
			id						= nil,
			unit					= IWR.player,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 50,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Internalize Charge'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['e']
		},
		{
			name					= 'Internalize Charge',
			id						= nil,
			unit					= IWR.player,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 50,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Internalize Charge'},
			playerbuff_false		= {'Heat Wave'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= 2,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Fusillade',
			abilityoncdless			= 56,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['e']
		},
		{
			name					= 'Countdown',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Accelerant',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Countdown',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Accelerant',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 2,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Flame Bolt',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Improved Flame Bolt'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Flame Bolt',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Improved Flame Bolt'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= 2,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Fulminate',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 60,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Internalize Charge'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= 4,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['8']
		},
		{
			name					= 'Fulminate',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 60,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Internalize Charge','Pyromancer\'s Blessing'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= 2,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['8']
		},
		{
			name					= 'Cinder Burst',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Pyromancer\'s Blessing'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Fireball',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Heat Wave'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['q']
		},
		{
			name					= 'Fusillade',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['6']
		},
		{
			name					= 'Flame Volley',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['7']
		},
		{
			name					= 'Heat Wave',
			id						= nil,
			unit					= IWR.player,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Flame Volley',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['q']
		},
		{
			name					= 'Fireball',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Pyro_NoBurst()
	-- http://rift.magelo.com/en/soultree#Se/iGlliFlkFlh0/gwa
	--------
	--KEYS--
	--------
	-- 1	= Flame Bolt
	-- 2	= SPAM macro
	-- 3	= Cinder Burst
	-- 4	= Countdown
	-- 5	= Searing Bolt
	-- 6	= Fusillade
	-- 7	= Flame Volley
	-- 8	= Fulminate
	-- 9	= Inferno
	-- 0	= Thunder Shock
	-- q	= Heat Wave (MACRO)
	-- e	= Internalize Charge
	-- r	= Burning Shield
	-- t	= Arcane Manipulation (PLAYER)
	-- f	= Flicker
	-- g	= 
	-- z	= Burning Bonds
	-- x	= Fire Storm
	-- c	= Scorch
	-- v	= Ride the Wind
	-- 1n	= Pyromancer\'s Armor
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Pyromancer\'s Armor',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Pyromancer\'s Armor'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1n']
		},
		{
			name					= 'Internalize Charge',
			id						= nil,
			unit					= IWR.player,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 50,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Internalize Charge'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['e']
		},
		{
			name					= 'Internalize Charge',
			id						= nil,
			unit					= IWR.player,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 50,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Internalize Charge'},
			playerbuff_false		= {'Heat Wave'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= 2,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Fusillade',
			abilityoncdless			= 56,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['e']
		},
		{
			name					= 'Countdown',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Accelerant',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Countdown',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Accelerant',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 2,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Flame Bolt',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Improved Flame Bolt'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Flame Bolt',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Improved Flame Bolt'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= 2,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Cinder Burst',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Pyromancer\'s Blessing'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Fireball',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Pyro_RaidStart()
	-- http://rift.magelo.com/en/soultree#Se/iGlliFlkFlh0/gwa
	--------
	--KEYS--
	--------
	-- 1	= Flame Bolt
	-- 2	= SPAM macro
	-- 3	= Cinder Burst
	-- 4	= Countdown
	-- 5	= Searing Bolt
	-- 6	= Fusillade
	-- 7	= Flame Volley
	-- 8	= Fulminate
	-- 9	= Inferno
	-- 0	= Thunder Shock
	-- q	= Heat Wave (MACRO)
	-- e	= Internalize Charge
	-- r	= Burning Shield
	-- t	= Arcane Manipulation (PLAYER)
	-- f	= Flicker
	-- g	= 
	-- z	= Burning Bonds
	-- x	= Fire Storm
	-- c	= Scorch
	-- v	= Ride the Wind
	-- 1n	= Pyromancer\'s Armor
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Pyromancer\'s Armor',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Pyromancer\'s Armor'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1n']
		},
		{
			name					= 'Internalize Charge',
			id						= nil,
			unit					= IWR.player,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 50,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Internalize Charge'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['e']
		},
		{
			name					= 'Internalize Charge',
			id						= nil,
			unit					= IWR.player,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 50,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Internalize Charge'},
			playerbuff_false		= {'Heat Wave'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= 2,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Fusillade',
			abilityoncdless			= 56,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['e']
		},
		{
			name					= 'Countdown',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Accelerant',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Countdown',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Accelerant',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 2,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Searing Bolt',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Heat Wave'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['5']
		},
		{
			name					= 'Flame Bolt',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Improved Flame Bolt'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Flame Bolt',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Improved Flame Bolt'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= 2,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Countdown',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Heat Wave'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Fulminate',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= 60,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Internalize Charge'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			abilityready			= 'Heat Wave',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['8']
		},
		{
			name					= 'Cinder Burst',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Pyromancer\'s Blessing'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Fireball',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Heat Wave'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['q']
		},
		{
			name					= 'Fusillade',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['6']
		},
		{
			name					= 'Flame Volley',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['7']
		},
		{
			name					= 'Heat Wave',
			id						= nil,
			unit					= IWR.player,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= 'Flame Volley',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['q']
		},
		{
			name					= 'Fireball',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Pyro_AOE()
	-- http://rift.magelo.com/en/soultree#Se/iGlliFlkFlh0/gwa
	--------
	--KEYS--
	--------
	-- 1	= Flame Bolt
	-- 2	= Fireball
	-- 3	= Cinder Burst
	-- 4	= Countdown
	-- 5	= Searing Bolt
	-- 6	= Fusillade
	-- 7	= Flame Volley
	-- 8	= Fulminate
	-- 9	= Inferno
	-- 0	= Thunder Shock
	-- q	= Heat Wave
	-- e	= Internalize Charge
	-- r	= Burning Shield
	-- t	= Arcane Manipulation (PLAYER)
	-- f	= Flicker
	-- g	= 
	-- z	= Burning Bonds
	-- x	= Fire Storm
	-- c	= Scorch
	-- v	= Ride the Wind
	-- 1n	= Pyromancer\'s Armor
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Pyromancer\'s Armor',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Pyromancer\'s Armor'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1n']
		},
		{
			name					= 'Countdown',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Countdown',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Fire Storm',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['x']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Storm_single()
	
	--------
	--KEYS--
	--------
	-- 1	= 
	-- 2	= 
	-- 3	= 
	-- 4	= 
	-- 5	= 
	-- 6	= 
	-- 7	= 
	-- 8	= 
	-- 9	= 
	-- 0	= 
	-- q	= 
	-- e	= 
	-- r	= 
	-- t	= 
	-- f	= 
	-- g	= 
	-- z	= 
	-- x	= 
	-- c	= 
	-- v	= 
	-- 1n	= 
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Storm Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Storm Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Lightning Field',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			abilityready			= 'Static Flux',
			key						= IWR.Key['e'],
		},
		{
			name					= 'Static Flux',
			unit					= IWR.target,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['q'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Storm Locus',
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Storm Locus',
			unitbuff_remain_less	= 2,
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Living Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Living Storm',
			relation				= 'hostile',
			key						= IWR.Key['z'],
		},
		{
			name					= 'Perfect Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['r'],
		},
		{
			name					= 'Hailstorm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			abilityoncd				= 'Perfect Storm',
			abilityoncdless			= 110,
			key						= IWR.Key['4'],
		},
		{
			name					= 'Eye of the Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			abilityoncd				= 'Perfect Storm',
			abilityoncdless			= 110,
			key						= IWR.Key['5'],
		},
		{
			name					= 'Raging Storm',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['6'],
		},
		{
			name					= 'Thunder Shock',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['7'],
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Storm_AOE()
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Tempest Armor',
			id						= nil,
			unit					= IWR.player,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= {'Tempest Armor'},
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			abilityready			= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2n']
		},
		{
			name					= 'Static Flux',
			id						= nil,
			unit					= IWR.target,
			incombat				= false,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= nil,
			VCD						= nil,
			abilityoncd				= nil,
			abilityready			= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['q']
		},
		{
			name					= 'Storm Locus',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Storm Locus',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= 30,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['f']
		},
		{
			name					= 'Storm Locus',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Storm Locus',
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= 2,
			relation				= 'hostile',
			VCD						= 30,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['f']
		},
		{
			name					= 'Living Storm',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= nil,
			unitbuff_false			= 'Living Storm',
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= 30,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['z']
		},
		{
			name					= 'Lightning Field',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= true,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= {'Electrified'},
			playerbuff_false		= nil,
			playerbuff_stack_more	= 5,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			abilityready			= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['e']
		},
		{
			name					= 'Perfect Storm',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			abilityoncdless			= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['r']
		},
		{
			name					= 'Hailstorm',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= 5,
			abilityoncd				= 'Perfect Storm',
			abilityoncdless			= 110,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4'],
		},
		{
			name					= 'Eye of the Storm',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= 5,
			abilityoncd				= 'Perfect Storm',
			abilityoncdless			= 110,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['5']
		},
		{
			name					= 'Lightning Arc',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Lightning Storm',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= true,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Raging Storm',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['6']
		},
		{
			name					= 'Forked Lightning',
			id						= nil,
			unit					= IWR.target,
			incombat				= true,
			whilechannel			= false,
			charge_more				= nil,
			charge_less				= nil,
			combo_more				= nil,
			combo_less				= nil,
			castonmove				= false,
			instant					= false,
			instant_buff			= nil,
			energy_more				= nil,
			energy_less				= nil,
			playerhealth_more		= nil,
			playerhealth_less		= nil,
			unithealth_more			= nil,
			unithealth_less			= nil,
			playermana_more			= nil,
			playermana_less			= nil,
			playerbuff_true			= nil,
			playerbuff_false		= nil,
			playerbuff_stack_more	= nil,
			playerbuff_stack_less	= nil,
			playerbuff_remain_more	= nil,
			playerbuff_remain_less	= nil,
			unitbuff_caster			= nil,
			unitbuff_true			= nil,
			unitbuff_false			= nil,
			unitbuff_stack_more		= nil,
			unitbuff_stack_less		= nil,
			unitbuff_remain_more	= nil,
			unitbuff_remain_less	= nil,
			relation				= 'hostile',
			VCD						= nil,
			abilityoncd				= nil,
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.StormLock_Single()
	-- http://rift.magelo.com/en/soultree#gAiGyE81k/ekgv5G10/S88
	--------
	--KEYS--
	--------
	-- 1	= Icicle
	-- 2	= Thunder Shock
	-- 3	= Raging Storm
	-- 4	= Hailstorm
	-- 5	= Forked Lightning
	-- 6	= Living Storm
	-- 7	= Dark Touch
	-- 8	= Blazing Light
	-- 9	= SPAM THIS SHIT YO (MACRO)
	-- 0	= Dark Touch (@focus)
	-- q	= Static Flux
	-- e	= Sacrifice Life: Damage
	-- r	= Arcane Manipulation (PLAYER)
	-- t	= Radiate Death
	-- f	= Storm Locus
	-- g	= 
	-- z	= 
	-- x	= 
	-- c	= 
	-- v	= Ride the Wind
	-- 1n	= Storm Armor
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Storm Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Storm Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Storm Locus',
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Storm Locus',
			unitbuff_remain_less	= 10,
			abilityoncd				= 'Raging Storm',
			abilityoncdless			= 8,
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Static Flux',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_false		= {'Sacrifice Life: Damage'},
			relation				= 'hostile',
			abilityoncd				= 'Sacrifice Life: Damage',
			abilityoncdless			= 20,
			key						= IWR.Key['q'],
		},
		{
			name					= 'Sacrifice Life: Damage',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['e'],
		},
		{
			name					= 'Living Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Living Storm',
			relation				= 'hostile',
			key						= IWR.Key['6'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			abilityoncd				= 'Sacrifice Life: Damage',
			abilityoncdmore			= 28,
			setVCD_line				= {14},
			setVCD_VCD				= {2},
			VCD						= 2,
			relation				= 'hostile',
			key						= IWR.Key['7'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_true			= 'Dark Touch',
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_remain_less	= 10,
			playerbuff_true			= {'Sacrifice Life: Damage'},
			playerbuff_remain_less	= 2,
			VCD						= 3,
			relation				= 'hostile',
			key						= IWR.Key['7'],
		},
		{
			name					= 'Icicle',
			unit					= IWR.target,
			incombat				= true,
			agressivecdcheck		= true,
			GCDrefline				= 2,
			relation				= 'hostile',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Raging Storm',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			abilityoncd				= 'Icicle',
			abilityoncdmore			= 2,
			setVCD_line				= {6},
			setVCD_VCD				= {6},
			key						= IWR.Key['3'],
		},
		{
			name					= 'Hailstorm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['4'],
		},
		{
			name					= 'Icicle',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Opportunity'},
			relation				= 'hostile',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Forked Lightning',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Opportunity'},
			setVCD_line				= {6},
			setVCD_VCD				= {3},
			relation				= 'hostile',
			key						= IWR.Key['5'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Dark Touch',
			relation				= 'hostile',
			VCD						= 2,
			key						= IWR.Key['7'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			unitbuff_false			= 'Neddra\'s Grasp',
			unitbuff_true			= 'Dark Touch',
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_remain_more	= 5,
			VCD						= 2,
			key						= IWR.Key['7'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Dark Touch',
			relation				= 'hostile',
			VCD						= 2,
			key						= IWR.Key['0'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Dark Touch',
			unitbuff_remain_less	= 1.5,
			relation				= 'hostile',
			VCD						= 2,
			key						= IWR.Key['0'],
		},
		{
			name					= 'Blazing Light',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Blazing Light',
			relation				= 'hostile',
			key						= IWR.Key['8'],
		},
		{
			name					= 'Thunder Shock',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['9'],
		},
		{
			name					= 'Storm Slash',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['9'],
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.StormLock_Cleave()
	-- http://rift.magelo.com/en/soultree#gAiGyE81k/ekgv5G10/S88
	--------
	--KEYS--
	--------
	-- 1	= Icicle
	-- 2	= Thunder Shock
	-- 3	= Raging Storm
	-- 4	= Hailstorm
	-- 5	= Forked Lightning
	-- 6	= Living Storm
	-- 7	= Dark Touch
	-- 8	= Blazing Light
	-- 9	= SPAM THIS SHIT YO (MACRO)
	-- 0	= Dark Touch (@focus)
	-- q	= Static Flux
	-- e	= Sacrifice Life: Damage
	-- r	= Arcane Manipulation (PLAYER)
	-- t	= Radiate Death
	-- f	= Storm Locus
	-- g	= 
	-- z	= 
	-- x	= 
	-- c	= 
	-- v	= Ride the Wind
	-- 1n	= Storm Armor
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Storm Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Storm Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Static Flux',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_false		= {'Sacrifice Life: Damage'},
			relation				= 'hostile',
			abilityoncd				= 'Sacrifice Life: Damage',
			abilityoncdless			= 20,
			key						= IWR.Key['q'],
		},
		{
			name					= 'Radiate Death',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			unitbuff_true			= 'Neddra\'s Grasp',
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			key						= IWR.Key['t'],
		},
		{
			name					= 'Icicle',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Raging Storm',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_true			= 'Dark Touch',
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_remain_less	= 10,
			playerbuff_true			= {'Sacrifice Life: Damage'},
			playerbuff_remain_less	= 1.5,
			VCD						= 2,
			relation				= 'hostile',
			key						= IWR.Key['7'],
		},
		{
			name					= 'Sacrifice Life: Damage',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['e'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			VCD						= 3,
			unitbuff_true			= 'Dark Touch',
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_remain_less	= 10,
			abilityoncd				= 'Sacrifice Life: Damage',
			abilityoncdmore			= 28,
			key						= IWR.Key['7'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			VCD						= 3,
			unitbuff_false			= 'Dark Touch',
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			abilityoncd				= 'Sacrifice Life: Damage',
			abilityoncdmore			= 28,
			key						= IWR.Key['7'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Storm Locus',
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Storm Locus',
			unitbuff_remain_less	= 2,
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Icicle',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Opportunity'},
			relation				= 'hostile',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Forked Lightning',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Opportunity'},
			relation				= 'hostile',
			key						= IWR.Key['5'],
		},
		{
			name					= 'Living Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Living Storm',
			relation				= 'hostile',
			abilityready			= 'Raging Storm',
			key						= IWR.Key['6'],
		},
		{
			name					= 'Living Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Living Storm',
			relation				= 'hostile',
			abilityoncd				= 'Raging Storm',
			abilityoncdless			= 10,
			key						= IWR.Key['6'],
		},
		{
			name					= 'Hailstorm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['4'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Dark Touch',
			relation				= 'hostile',
			playerbuff_false		= {'Sacrifice Life: Damage'},
			VCD						= 2,
			key						= IWR.Key['7'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			unitbuff_false			= 'Neddra\'s Grasp',
			unitbuff_true			= 'Dark Touch',
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_remain_more	= 5,
			VCD						= 2,
			key						= IWR.Key['7'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Dark Touch',
			relation				= 'hostile',
			VCD						= 2,
			key						= IWR.Key['0'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Dark Touch',
			unitbuff_remain_less	= 1.5,
			relation				= 'hostile',
			VCD						= 2,
			key						= IWR.Key['0'],
		},
		{
			name					= 'Blazing Light',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Blazing Light',
			relation				= 'hostile',
			key						= IWR.Key['8'],
		},
		{
			name					= 'Thunder Shock',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['9'],
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Storminator_Single()
	-- http://rift.magelo.com/en/soultree#gC4GEG20l0/dt50/h9kw50
	-- http://forums.riftgame.com/game-discussions/rift-guides-strategies/class-guides/mage-guides/456590-feedback-caller-nt-edition-dom-sc-ele.html
	--------
	--KEYS--
	--------
	-- 1	= Raging Storm
	-- 2	= SPAM STORMINATOR(MACRO)
	-- 3	= SPAM STORMINATOR LOW(MACRO)
	-- 4	= Voltaic Feedback
	-- 5	= 
	-- 6	= Thunder Shock
	-- 7	= Thunder Blast
	-- 8	= Icicle
	-- 9	= Hailstorm
	-- 0	= Haunting Pain
	-- q	= Static Flux
	-- e	= 
	-- r	= 
	-- t	= 
	-- f	= Storm Locus
	-- g	= 
	-- z	= Living Storm
	-- x	= 
	-- c	= 
	-- v	= Ride the Wind
	-- 1n	= Storm Armor
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Storm Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Storm Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Storm Locus',
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		-- {
			-- name					= 'Static Flux',
			-- unit					= IWR.target,
			-- incombat				= false,
			-- castonmove				= true,
			-- relation				= 'hostile',
			-- key						= IWR.Key['q'],
		-- },
		{
			name					= 'Living Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Living Storm',
			relation				= 'hostile',
			key						= IWR.Key['z'],
		},
		{
			name					= 'Voltaic Feedback',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
		{
			name					= 'Raging Storm',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			setVCD_line				= {3},
			setVCD_VCD				= {6},
			abilityoncd				= 'Split Personality',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Haunting Pain',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
		{
			name					= 'Hailstorm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
		{
			name					= 'Icicle',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Storm Locus',
			unitbuff_remain_less	= 5,
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Split Personality',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
		{
			name					= 'Thunder Shock',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Storminator_SingleLow()
	-- http://rift.magelo.com/en/soultree#gC4GEG20l0/dt50/h9kw50
	-- http://forums.riftgame.com/game-discussions/rift-guides-strategies/class-guides/mage-guides/456590-feedback-caller-nt-edition-dom-sc-ele.html
	--------
	--KEYS--
	--------
	-- 1	= Raging Storm
	-- 2	= SPAM STORMINATOR(MACRO)
	-- 3	= SPAM STORMINATOR LOW(MACRO)
	-- 4	= Voltaic Feedback
	-- 5	= 
	-- 6	= Thunder Shock
	-- 7	= Thunder Blast
	-- 8	= Icicle
	-- 9	= Hailstorm
	-- 0	= Haunting Pain
	-- q	= Static Flux
	-- e	= 
	-- r	= 
	-- t	= 
	-- f	= Storm Locus
	-- g	= 
	-- z	= Living Storm
	-- x	= 
	-- c	= 
	-- v	= Ride the Wind
	-- 1n	= Storm Armor
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Storm Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Storm Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Storm Locus',
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		-- {
			-- name					= 'Static Flux',
			-- unit					= IWR.target,
			-- incombat				= false,
			-- castonmove				= true,
			-- relation				= 'hostile',
			-- key						= IWR.Key['q'],
		-- },
		{
			name					= 'Living Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Living Storm',
			relation				= 'hostile',
			key						= IWR.Key['z'],
		},
		{
			name					= 'Raging Storm',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			setVCD_line				= {3},
			setVCD_VCD				= {6},
			abilityoncd				= 'Split Personality',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Haunting Pain',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Hailstorm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Icicle',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Storm Locus',
			unitbuff_remain_less	= 5,
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Split Personality',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Thunder Shock',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.PyroChon_Single()
	-- http://rift.magelo.com/en/soultree#Se/iGlliFlkFlh0/gwa
	--------
	--KEYS--
	--------
	-- 1	= Flame Bolt
	-- 2	= SPAM macro
	-- 3	= Cinder Burst
	-- 4	= Countdown
	-- 5	= Inferno
	-- 6	= Volcanic Bomb
	-- 7	= Earthen Barrage
	-- 8	= Spark Shower
	-- 9	= Pillaging Stone
	-- 0	= Neural Prod
	-- q	= Heat Wave (MACRO)
	-- e	= Internalize Charge
	-- r	= Flaring Power
	-- t	= Ethereal Flux
	-- f	= Ashen Defense
	-- g	= 
	-- z	= Lava Field
	-- x	= Fire Storm
	-- c	= Scorch
	-- v	= Crumbling Resistance
	-- 1n	= Pyromancer\'s Armor
	-- 2n	= Shared Vigor
	-- 3n	= Vitality of Stone
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Pyromancer\'s Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Pyromancer\'s Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Shared Vigor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Shared Vigor'},
			key						= IWR.Key['2n'],
		},
		{
			name					= 'Vitality of Stone',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Vitality of Stone'},
			key						= IWR.Key['3n'],
		},
		{
			name					= 'Internalize Charge',
			unit					= IWR.target,
			incombat				= true,
			charge_more				= 50,
			castonmove				= true,
			playerbuff_false		= {'Internalize Charge'},
			relation				= 'hostile',
			abilityoncd				= 'Flaring Power',
			key						= IWR.Key['e'],
		},
		{
			name					= 'Ashen Defense',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Ashen Defense',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Crumbling Resistance',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Crumbling Resistance',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['v'],
		},
		{
			name					= 'Countdown',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Accelerant',
			relation				= 'hostile',
			key						= IWR.Key['4'],
		},
		{
			name					= 'Countdown',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Accelerant',
			unitbuff_remain_less	= 1.5,
			relation				= 'hostile',
			key						= IWR.Key['4'],
		},
		{
			name					= 'Flame Bolt',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_false		= {'Improved Flame Bolt'},
			relation				= 'hostile',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Flame Bolt',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Improved Flame Bolt'},
			playerbuff_remain_less	= 2,
			relation				= 'hostile',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Cinder Burst',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Pyromancer\'s Blessing'},
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Pillaging Stone',
			unit					= IWR.target,
			incombat				= true,
			playerbuff_true			= {'Pillaging Stone'},
			playerbuff_remain_less	= 10,
			relation				= 'hostile',
			VCD						= 3,
			key						= IWR.Key['9'],
		},
		{
			name					= 'Flaring Power',
			unit					= IWR.target,
			incombat				= true,
			charge_more				= 50,
			playerbuff_false		= {'Battle Weary'},
			relation				= 'hostile',
			key						= IWR.Key['r'],
		},
		{
			name					= 'Lava Field',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['z'],
		},
		{
			name					= 'Fireball',
			unit					= IWR.target,
			incombat				= true,
			playerbuff_true			= {'Heat Wave'},
			relation				= 'hostile',
			key						= IWR.Key['q'],
		},
		{
			name					= 'Heat Wave',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['q'],
		},
		{
			name					= 'Fireball',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.PyroChon_SingleNoLava()
	-- http://rift.magelo.com/en/soultree#Se/iGlliFlkFlh0/gwa
	--------
	--KEYS--
	--------
	-- 1	= Flame Bolt
	-- 2	= SPAM macro
	-- 3	= Cinder Burst
	-- 4	= Countdown
	-- 5	= Inferno
	-- 6	= Volcanic Bomb
	-- 7	= Earthen Barrage
	-- 8	= Spark Shower
	-- 9	= Pillaging Stone
	-- 0	= Neural Prod
	-- q	= Heat Wave (MACRO)
	-- e	= Internalize Charge
	-- r	= Flaring Power
	-- t	= Ethereal Flux
	-- f	= Ashen Defense
	-- g	= 
	-- z	= Lava Field
	-- x	= Fire Storm
	-- c	= Scorch
	-- v	= Crumbling Resistance
	-- 1n	= Pyromancer\'s Armor
	-- 2n	= Shared Vigor
	-- 3n	= Vitality of Stone
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Pyromancer\'s Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Pyromancer\'s Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Shared Vigor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Shared Vigor'},
			key						= IWR.Key['2n'],
		},
		{
			name					= 'Vitality of Stone',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Vitality of Stone'},
			key						= IWR.Key['3n'],
		},
		{
			name					= 'Internalize Charge',
			unit					= IWR.target,
			incombat				= true,
			charge_more				= 50,
			castonmove				= true,
			playerbuff_false		= {'Internalize Charge'},
			relation				= 'hostile',
			abilityoncd				= 'Flaring Power',
			key						= IWR.Key['e'],
		},
		{
			name					= 'Ashen Defense',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Ashen Defense',
			unitname_ignore			= {'Captive Terror'},
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Crumbling Resistance',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Crumbling Resistance',
			unitname_ignore			= {'Captive Terror'},
			relation				= 'hostile',
			key						= IWR.Key['v'],
		},
		{
			name					= 'Countdown',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Accelerant',
			relation				= 'hostile',
			key						= IWR.Key['4'],
		},
		{
			name					= 'Countdown',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Accelerant',
			unitbuff_remain_less	= 1.5,
			relation				= 'hostile',
			key						= IWR.Key['4'],
		},
		{
			name					= 'Flame Bolt',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_false		= {'Improved Flame Bolt'},
			relation				= 'hostile',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Flame Bolt',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Improved Flame Bolt'},
			playerbuff_remain_less	= 2,
			relation				= 'hostile',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Cinder Burst',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Pyromancer\'s Blessing'},
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Pillaging Stone',
			unit					= IWR.target,
			incombat				= true,
			playerbuff_true			= {'Pillaging Stone'},
			playerbuff_remain_less	= 10,
			relation				= 'hostile',
			VCD						= 3,
			key						= IWR.Key['9'],
		},
		{
			name					= 'Fireball',
			unit					= IWR.target,
			incombat				= true,
			playerbuff_true			= {'Heat Wave'},
			relation				= 'hostile',
			key						= IWR.Key['q'],
		},
		{
			name					= 'Heat Wave',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['q'],
		},
		{
			name					= 'Fireball',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Harbarchon_Blademark()
	-- http://rift.magelo.com/en/soultree#gAjqEG20l0/S8BnA9h2/hd
	--------
	--KEYS--
	--------
	-- 1	= Piercing Beam
	-- 2	= SPAM (MACRO)
	-- 3	= ELDRITCH (MACRO)
	-- 4	= CHARGE GAIN (MACRO)
	-- 5	= Lucent Slash
	-- 6	= Vorpal Slash
	-- 7	= 
	-- 8	= 
	-- 9	= 
	-- 0	= Fireball
	-- q	= Flaring Power
	-- e	= Charged Blade
	-- r	= Blazing Light
	-- t	= Introspection
	-- f	= Ashen Defense
	-- g	= 
	-- z	= Lava Field
	-- x	= Blade Rush
	-- c	= Blademark (@focus)
	-- v	= Crumbling Resistance
	-- 1n	= Eldritch Armor
	-- 2n	= Shared Vigor
	-- 3n	= Vitality of Stone
	-- 4n	= Arcane Aegis
	-- 5n	= Arcane Manipulation (PLAYER)
	-- 6n	= Ashen Defense (@focus)
	-- 7n	= Crumbling Resistance (@focus)
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= Storm Slash
	-- +n	= Storm\'s Fury
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Eldritch Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Eldritch Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Shared Vigor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Shared Vigor'},
			key						= IWR.Key['2n'],
		},
		{
			name					= 'Vitality of Stone',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Vitality of Stone'},
			key						= IWR.Key['3n'],
		},
		{
			name					= 'Arcane Aegis',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Arcane Aegis'},
			key						= IWR.Key['4n'],
		},
		{
			name					= 'Introspection',
			unit					= IWR.player,
			incombat				= true,
			castonmove				= true,
			playermana_less			= 10,
			key						= IWR.Key['t'],
		},
		{
			name					= 'Blazing Light',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Blazing Light',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['r'],
		},
		{
			name					= 'Storm Slash', -- Lucent Slash
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Blazing Light',
			unitbuff_remain_less	= 2.5,
			unitbuff_remain_more	= 1.5,
			relation				= 'hostile',
			unitname_ignore			= {'The Yrlwalach'},
			key						= IWR.Key['5'],
		},
		{
			name					= 'Ashen Defense',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Ashen Defense',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Crumbling Resistance',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Crumbling Resistance',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['v'],
		},
		{
			name					= 'Ashen Defense',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Ashen Defense',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['5n'],
		},
		{
			name					= 'Crumbling Resistance',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Crumbling Resistance',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['6n'],
		},
		{
			name					= 'Shared Vigor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_true			= {'Shared Vigor','Eldritch Gift'},
			playerbuff_remain_less	= 10,
			VCD						= 3,
			key						= IWR.Key['2n'],
		},
		{
			name					= 'Vitality of Stone',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_true			= {'Vitality of Stone','Eldritch Gift'},
			playerbuff_remain_less	= 10,
			VCD						= 3,
			key						= IWR.Key['3n'],
		},
		{
			name					= 'Arcane Aegis',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_true			= {'Arcane Aegis','Eldritch Gift'},
			playerbuff_remain_less	= 10,
			VCD						= 3,
			key						= IWR.Key['4n'],
		},
		{
			name					= 'Piercing Beam',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Piercing Beam',
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1'],
		},
		{
			name					= 'Piercing Beam',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Piercing Beam',
			unitbuff_remain_less	= 3,
			relation				= 'hostile',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Flaring Power',
			unit					= IWR.target,
			incombat				= true,
			charge_more				= 50,
			playerbuff_false		= {'Battle Weary'},
			relation				= 'hostile',
			key						= IWR.Key['q'],
		},
		{
			name					= 'Lava Field',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['z'],
		},
		{
			name					= 'Blademark',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['c']
		},
		{
			name					= 'Fireball', -- ELDRITCH MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Eldritch Gift'},
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Storm Slash', -- CHARGE GAIN MACRO
			unit					= IWR.target,
			incombat				= true,
			charge_less				= 40,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['4'],
		},
		{
			name					= 'Storm Slash', -- SPAM MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
		{
			name					= 'Fireball', -- ELDRITCH MACRO
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Searing Vitality', -- SPAM MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Harbarchon_BlademarkNoFP()
	-- http://rift.magelo.com/en/soultree#gAjqEG20l0/S8BnA9h2/hd
	--------
	--KEYS--
	--------
	-- 1	= Piercing Beam
	-- 2	= SPAM (MACRO)
	-- 3	= ELDRITCH (MACRO)
	-- 4	= CHARGE GAIN (MACRO)
	-- 5	= Lucent Slash
	-- 6	= Vorpal Slash
	-- 7	= 
	-- 8	= 
	-- 9	= 
	-- 0	= Fireball
	-- q	= Flaring Power
	-- e	= Charged Blade
	-- r	= Blazing Light
	-- t	= Introspection
	-- f	= Ashen Defense
	-- g	= 
	-- z	= Lava Field
	-- x	= Blade Rush
	-- c	= Blademark (@focus)
	-- v	= Crumbling Resistance
	-- 1n	= Eldritch Armor
	-- 2n	= Shared Vigor
	-- 3n	= Vitality of Stone
	-- 4n	= Arcane Aegis
	-- 5n	= Arcane Manipulation (PLAYER)
	-- 6n	= Ashen Defense (@focus)
	-- 7n	= Crumbling Resistance (@focus)
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= Storm Slash
	-- +n	= Storm\'s Fury
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Eldritch Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Eldritch Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Shared Vigor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Shared Vigor'},
			key						= IWR.Key['2n'],
		},
		{
			name					= 'Vitality of Stone',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Vitality of Stone'},
			key						= IWR.Key['3n'],
		},
		{
			name					= 'Arcane Aegis',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Arcane Aegis'},
			key						= IWR.Key['4n'],
		},
		{
			name					= 'Introspection',
			unit					= IWR.player,
			incombat				= true,
			castonmove				= true,
			playermana_less			= 10,
			key						= IWR.Key['t'],
		},
		{
			name					= 'Blazing Light',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Blazing Light',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['r'],
		},
		{
			name					= 'Storm Slash', -- Lucent Slash
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Blazing Light',
			unitbuff_remain_less	= 2.5,
			unitbuff_remain_more	= 1.5,
			relation				= 'hostile',
			unitname_ignore			= {'The Yrlwalach'},
			key						= IWR.Key['5'],
		},
		{
			name					= 'Ashen Defense',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Ashen Defense',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Crumbling Resistance',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Crumbling Resistance',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['v'],
		},
		{
			name					= 'Ashen Defense',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Ashen Defense',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['5n'],
		},
		{
			name					= 'Crumbling Resistance',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Crumbling Resistance',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['6n'],
		},
		{
			name					= 'Shared Vigor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_true			= {'Shared Vigor','Eldritch Gift'},
			playerbuff_remain_less	= 10,
			VCD						= 3,
			key						= IWR.Key['2n'],
		},
		{
			name					= 'Vitality of Stone',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_true			= {'Vitality of Stone','Eldritch Gift'},
			playerbuff_remain_less	= 10,
			VCD						= 3,
			key						= IWR.Key['3n'],
		},
		{
			name					= 'Arcane Aegis',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_true			= {'Arcane Aegis','Eldritch Gift'},
			playerbuff_remain_less	= 10,
			VCD						= 3,
			key						= IWR.Key['4n'],
		},
		{
			name					= 'Piercing Beam',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Piercing Beam',
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1'],
		},
		{
			name					= 'Piercing Beam',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Piercing Beam',
			unitbuff_remain_less	= 3,
			relation				= 'hostile',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Lava Field',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['z'],
		},
		{
			name					= 'Blademark',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['c']
		},
		{
			name					= 'Fireball', -- ELDRITCH MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Eldritch Gift'},
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Storm Slash', -- CHARGE GAIN MACRO
			unit					= IWR.target,
			incombat				= true,
			charge_less				= 40,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['4'],
		},
		{
			name					= 'Storm Slash', -- SPAM MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
		{
			name					= 'Fireball', -- ELDRITCH MACRO
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Searing Vitality', -- SPAM MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Harbarchon_BlademarkNoFPNoLava()
	-- http://rift.magelo.com/en/soultree#gAjqEG20l0/S8BnA9h2/hd
	--------
	--KEYS--
	--------
	-- 1	= Piercing Beam
	-- 2	= SPAM (MACRO)
	-- 3	= ELDRITCH (MACRO)
	-- 4	= CHARGE GAIN (MACRO)
	-- 5	= Lucent Slash
	-- 6	= Vorpal Slash
	-- 7	= 
	-- 8	= 
	-- 9	= 
	-- 0	= Fireball
	-- q	= Flaring Power
	-- e	= Charged Blade
	-- r	= Blazing Light
	-- t	= Introspection
	-- f	= Ashen Defense
	-- g	= 
	-- z	= Lava Field
	-- x	= Blade Rush
	-- c	= Blademark (@focus)
	-- v	= Crumbling Resistance
	-- 1n	= Eldritch Armor
	-- 2n	= Shared Vigor
	-- 3n	= Vitality of Stone
	-- 4n	= Arcane Aegis
	-- 5n	= Arcane Manipulation (PLAYER)
	-- 6n	= Ashen Defense (@focus)
	-- 7n	= Crumbling Resistance (@focus)
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= Storm Slash
	-- +n	= Storm\'s Fury
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Eldritch Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Eldritch Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Shared Vigor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Shared Vigor'},
			key						= IWR.Key['2n'],
		},
		{
			name					= 'Vitality of Stone',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Vitality of Stone'},
			key						= IWR.Key['3n'],
		},
		{
			name					= 'Arcane Aegis',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Arcane Aegis'},
			key						= IWR.Key['4n'],
		},
		{
			name					= 'Introspection',
			unit					= IWR.player,
			incombat				= true,
			castonmove				= true,
			playermana_less			= 10,
			key						= IWR.Key['t'],
		},
		{
			name					= 'Blazing Light',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Blazing Light',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['r'],
		},
		{
			name					= 'Storm Slash', -- Lucent Slash
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Blazing Light',
			unitbuff_remain_less	= 2.5,
			unitbuff_remain_more	= 1.5,
			relation				= 'hostile',
			unitname_ignore			= {'The Yrlwalach'},
			key						= IWR.Key['5'],
		},
		{
			name					= 'Ashen Defense',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Ashen Defense',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Crumbling Resistance',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Crumbling Resistance',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['v'],
		},
		{
			name					= 'Ashen Defense',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Ashen Defense',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['5n'],
		},
		{
			name					= 'Crumbling Resistance',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Crumbling Resistance',
			unitname_ignore			= {'Captive Terror','Coral'},
			relation				= 'hostile',
			key						= IWR.Key['6n'],
		},
		{
			name					= 'Shared Vigor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_true			= {'Shared Vigor','Eldritch Gift'},
			playerbuff_remain_less	= 10,
			VCD						= 3,
			key						= IWR.Key['2n'],
		},
		{
			name					= 'Vitality of Stone',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_true			= {'Vitality of Stone','Eldritch Gift'},
			playerbuff_remain_less	= 10,
			VCD						= 3,
			key						= IWR.Key['3n'],
		},
		{
			name					= 'Arcane Aegis',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_true			= {'Arcane Aegis','Eldritch Gift'},
			playerbuff_remain_less	= 10,
			VCD						= 3,
			key						= IWR.Key['4n'],
		},
		{
			name					= 'Piercing Beam',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Piercing Beam',
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1'],
		},
		{
			name					= 'Piercing Beam',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Piercing Beam',
			unitbuff_remain_less	= 3,
			relation				= 'hostile',
			key						= IWR.Key['1'],
		},
		{
			name					= 'Blademark',
			unit					= IWR.focus,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['c']
		},
		{
			name					= 'Fireball', -- ELDRITCH MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Eldritch Gift'},
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Storm Slash', -- CHARGE GAIN MACRO
			unit					= IWR.target,
			incombat				= true,
			charge_less				= 40,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['4'],
		},
		{
			name					= 'Storm Slash', -- SPAM MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
		{
			name					= 'Fireball', -- ELDRITCH MACRO
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['3'],
		},
		{
			name					= 'Searing Vitality', -- SPAM MACRO
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Soulstorm_Single()
	-- http://rift.magelo.com/en/soultree#gAiGyE81k/ekgv5G10/S88
	--------
	--KEYS--
	--------
	-- 1	= Icicle
	-- 2	= SPAM (MACRO)
	-- 3	= Raging Storm
	-- 4	= Hailstorm
	-- 5	= Plague Bolt
	-- 6	= Corpse Talon
	-- 7	= Forked Lightning
	-- 8	= Thunder Shock
	-- 9	= Dark Touch
	-- 0	= Ethereal Flux
	-- q	= Static Flux
	-- e	= 
	-- r	= 
	-- t	= 
	-- f	= Storm Locus
	-- g	= 
	-- z	= Living Storm
	-- x	= Essence Link
	-- c	= 
	-- v	= Ride the Wind
	-- 1n	= Storm Armor
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Storm Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Storm Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Storm Locus',
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Living Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Living Storm',
			relation				= 'hostile',
			key						= IWR.Key['z'],
		},
		{
			name					= 'Essence Link',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Essence Link',
			relation				= 'hostile',
			key						= IWR.Key['x'],
		},
		{
			name					= 'Icicle',
			unit					= IWR.target,
			incombat				= true,
			abilityready			= 'Raging Storm',
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
		{
			name					= 'Raging Storm',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			setVCD_line				= {3},
			setVCD_VCD				= {6},
			key						= IWR.Key['3'],
		},
		{
			name					= 'Icicle',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
		{
			name					= 'Hailstorm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
		{
			name					= 'Corpse Talon',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Dark Touch',
			relation				= 'hostile',
			key						= IWR.Key['9'],
		},
		{
			name					= 'Dark Touch',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Dark Touch',
			unitbuff_remain_less	= 2,
			relation				= 'hostile',
			key						= IWR.Key['9'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Storm Locus',
			unitbuff_remain_less	= 10,
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Essence Link',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Essence Link',
			unitbuff_remain_less	= 10,
			relation				= 'hostile',
			key						= IWR.Key['x'],
		},
		{
			name					= 'Plague Bolt',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Epidemic'},
			relation				= 'hostile',
			key						= IWR.Key['5'],
		},
		{
			name					= 'Thunder Shock',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.Soulstorm_Cleave()
	-- http://rift.magelo.com/en/soultree#gAiGyE81k/ekgv5G10/S88
	--------
	--KEYS--
	--------
	-- 1	= Icicle
	-- 2	= SPAM (MACRO)
	-- 3	= Raging Storm
	-- 4	= Hailstorm
	-- 5	= Plague Bolt
	-- 6	= Corpse Talon
	-- 7	= Forked Lightning
	-- 8	= Thunder Shock
	-- 9	= Storm's Fury
	-- 0	= Ethereal Flux
	-- q	= Static Flux
	-- e	= 
	-- r	= 
	-- t	= 
	-- f	= Storm Locus
	-- g	= 
	-- z	= Living Storm
	-- x	= Essence Link
	-- c	= 
	-- v	= Ride the Wind
	-- 1n	= Storm Armor
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Storm Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_true			= {'Storm Armor'},
			key						= IWR.Key['2n'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Storm Locus',
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Living Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Living Storm',
			relation				= 'hostile',
			key						= IWR.Key['z'],
		},
		{
			name					= 'Hailstorm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['4'],
		},
		{
			name					= 'Forked Lightning',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['0'],
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.SoulPyro_Single()
	-- http://rift.magelo.com/en/soultree#gAiGyE81k/ekgv5G10/S88
	--------
	--KEYS--
	--------
	-- 1	= Flame Volley
	-- 2	= SPAM SOULFIRE(MACRO)
	-- 3	= HEAT WAVE SOULFIRE(MACRO)
	-- 4	= Cinder Burst
	-- 5	= Corpse Talon
	-- 6	= 
	-- 7	= 
	-- 8	= 
	-- 9	= 
	-- 0	= 
	-- q	= Essence Link
	-- e	= Internalize Charge
	-- r	= 
	-- t	= 
	-- f	= 
	-- g	= 
	-- z	= 
	-- x	= 
	-- c	= 
	-- v	= 
	-- 1n	= Pyromancer\'s Armor
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Pyromancer\'s Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Pyromancer\'s Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Essence Link',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Essence Link',
			relation				= 'hostile',
			key						= IWR.Key['q'],
		},
		{
			name					= 'Countdown',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Accelerant',
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
		{
			name					= 'Countdown',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Accelerant',
			unitbuff_remain_less	= 2,
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
		{
			name					= 'Flame Bolt',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_false		= {'Improved Flame Bolt'},
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
		{
			name					= 'Flame Bolt',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Improved Flame Bolt'},
			playerbuff_remain_less	= 2,
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
		{
			name					= 'Cinder Burst',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Pyromancer\'s Blessing'},
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Flame Volley',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Fireball',
			unit					= IWR.target,
			incombat				= true,
			playerbuff_true			= {'Heat Wave'},
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Heat Wave',
			unit					= IWR.player,
			incombat				= true,
			abilityoncd				= 'Flame Volley',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Fireball',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.PyroElem_Single()
	-- http://rift.magelo.com/en/soultree#gAiGyE81k/ekgv5G10/S88
	--------
	--KEYS--
	--------
	-- 1	= Flame Volley
	-- 2	= SPAM SOULFIRE(MACRO)
	-- 3	= HEAT WAVE SOULFIRE(MACRO)
	-- 4	= Cinder Burst
	-- 5	= Corpse Talon
	-- 6	= 
	-- 7	= 
	-- 8	= 
	-- 9	= 
	-- 0	= 
	-- q	= Essence Link
	-- e	= Internalize Charge
	-- r	= 
	-- t	= 
	-- f	= 
	-- g	= 
	-- z	= 
	-- x	= 
	-- c	= 
	-- v	= 
	-- 1n	= Pyromancer\'s Armor
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Pyromancer\'s Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Pyromancer\'s Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Countdown',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Accelerant',
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
		{
			name					= 'Countdown',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Accelerant',
			unitbuff_remain_less	= 2,
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
		{
			name					= 'Flame Bolt',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_false		= {'Improved Flame Bolt'},
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
		{
			name					= 'Flame Bolt',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Improved Flame Bolt'},
			playerbuff_remain_less	= 2,
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
		{
			name					= 'Cinder Burst',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			playerbuff_true			= {'Pyromancer\'s Blessing'},
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['4']
		},
		{
			name					= 'Flame Volley',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['1']
		},
		{
			name					= 'Fireball',
			unit					= IWR.target,
			incombat				= true,
			playerbuff_true			= {'Heat Wave'},
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Heat Wave',
			unit					= IWR.player,
			incombat				= true,
			abilityoncd				= 'Flame Volley',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['3']
		},
		{
			name					= 'Fireball',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			lineavailabletime		= IWR.Now(),
			key						= IWR.Key['2']
		},
	}
	IWR.Rotation_MapIDs()
end

function IWR.StormalistNew_Single()
	-- http://rift.magelo.com/en/soultree#h9lg2Exg/gC4GEG20l0/d8
	--------
	--KEYS--
	--------
	-- 1	= Icicle
	-- 2	= SPAM (MACRO)
	-- 3	= Raging Storm
	-- 4	= Hailstorm
	-- 5	= Plague Bolt
	-- 6	= Corpse Talon
	-- 7	= Forked Lightning
	-- 8	= Thunder Shock
	-- 9	= Dark Touch
	-- 0	= Ethereal Flux
	-- q	= Static Flux
	-- e	= 
	-- r	= 
	-- t	= 
	-- f	= Storm Locus
	-- g	= 
	-- z	= Living Storm
	-- x	= Essence Link
	-- c	= 
	-- v	= Ride the Wind
	-- 1n	= Storm Armor
	-- 2n	= 
	-- 3n	= 
	-- 4n	= 
	-- 5n	= 
	-- 6n	= 
	-- 7n	= 
	-- 8n	= 
	-- 9n	= 
	-- *n	= 
	-- -n	= 
	-- +n	= 
	--------
	--KEYS--
	--------
	
	IWR.Rotation = {}
	IWR.Rotation = {
		{
			name					= 'Storm Armor',
			unit					= IWR.player,
			castonmove				= true,
			playerbuff_false		= {'Storm Armor'},
			key						= IWR.Key['1n'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Storm Locus',
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Living Storm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_false			= 'Living Storm',
			relation				= 'hostile',
			key						= IWR.Key['z'],
		},
		{
			name					= 'Icicle',
			unit					= IWR.target,
			incombat				= true,
			abilityready			= 'Raging Storm',
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
		{
			name					= 'Raging Storm',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			setVCD_line				= {3},
			setVCD_VCD				= {6},
			key						= IWR.Key['3'],
		},
		{
			name					= 'Hailstorm',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
		{
			name					= 'Icicle',
			unit					= IWR.target,
			incombat				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
		{
			name					= 'Icy Carapace',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
		{
			name					= 'Lightning Strike',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			abilityready			= 'Thunder Blast',
			relation				= 'hostile',
			key						= IWR.Key['5'],
		},
		{
			name					= 'Lightning Strike',
			unit					= IWR.target,
			incombat				= true,
			playerbuff_true			= {'Quick Thinking'},
			relation				= 'hostile',
			key						= IWR.Key['5'],
		},
		{
			name					= 'Storm Locus',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			unitbuff_caster			= IWR.UnitDetails[IWR.player].id,
			unitbuff_true			= 'Storm Locus',
			unitbuff_remain_less	= 10,
			relation				= 'hostile',
			key						= IWR.Key['f'],
		},
		{
			name					= 'Thunder Shock',
			unit					= IWR.target,
			incombat				= true,
			castonmove				= true,
			relation				= 'hostile',
			key						= IWR.Key['2'],
		},
	}
	IWR.Rotation_MapIDs()
end
-------------------
--/MAGIC GOES HERE--
-------------------